
<style type="text/css">
    .content{
        font-size: 18px;
    }
    .btn1,.btn3{
        /*float: left;*/
        margin-left: 30px;
        width: 100px;
        position: relative;
        top: 30px;
        left: -125px;
    }
    .modal-body input {
        width: 500px;
    }
    .modal-body select{
        width: 500px;
        height: 38px;
        border-style: none;
        border: 1px solid #ccc;
    }
    select{
        width: 120px;
        height: 34px;
        border-style: none;
        border: 1px solid #ccc;
        font-size: 14px;
    }
    .jiacu{
        font-weight: 900;
        color:black !important;
    }
</style>


<ul class="nav nav-tabs">
    <li class="active"><a href="#year1" data-toggle="tab">第一年度</a></li>
    <li><a href="#year2" data-toggle="tab">第二年度</a></li>
    <li><a href="#year3" data-toggle="tab">第三年度</a></li>
</ul>

<div class="tab-content">
    <div id="year1" class="tab-pane fade in active content" >
        <div class="role_content" style="position: relative; margin-top: 60px;">
            <table class="table_list" id="table_my_toast1" style="width: 800px; margin: 0 auto;">
                <tr>
                    <td></td>
                    <td>组别</td>
                    <td colspan="2" class="jiacu">现金流(万元)</td>
                    <td colspan="2" class="jiacu">采购成本(万元)</td>
                    <td colspan="2" class="jiacu">成本差(万元)</td>
                    <td colspan="2" class="jiacu">违约金/利息(万元)</td>
                </tr>
                <%for(i=0;i<netProfit1.length;i++){%>
                <tr>
                    <%if(i==0){%>
                    <td rowspan="<%=netProfit1.length%>">采购能力</td>
                    <%}%>
                    <td colspan="1"><span><%=netProfit1[i].group_name%></span></td>
                    <td colspan="2"><span><%=netProfit1[i].cash_flow%></span></td>
                    <td colspan="2"><span ><%=netProfit1[i].purchasing_cost%></span></td>
                    <td colspan="2"><span ><%=netProfit1[i].cost_difference%></span></td>
                    <td colspan="2"><span ><%=netProfit1[i].liquidated_damages_one%></span></td>
                </tr>
                <%}%>
                <tr>
                    <td rowspan="<%=netProfit1.length+1%>">生产能力</td>
                    <td class="jiacu">组别</td>
                    <td class="jiacu" colspan="2">产能现状(台)</td>
                    <td class="jiacu" colspan="2">需要产能(台)</td>
                    <td class="jiacu" colspan="2">产能差(台)</td>
                    <td class="jiacu" colspan="2">违约金(万元)</td>
                </tr>
                <%for(i=0;i<netProfit1.length;i++){%>
                <tr>
                    <td colspan="1"><span><%=netProfit1[i].group_name%></span></td>
                    <td colspan="2"><span><%=netProfit1[i].production_capacity%></span></td>
                    <td colspan="2"><span ><%=netProfit1[i].need_capacity%></span></td>
                    <td colspan="2"><span ><%=netProfit1[i].capacity_difference%></span></td>
                    <td colspan="2"><span ><%=netProfit1[i].liquidated_damages_two%></span></td>
                </tr>
                <%}%>
                <tr>
                    <td rowspan="<%=netProfit1.length+1%>">销售能力</td>
                    <td class="jiacu">组别</td>
                    <td class="jiacu" colspan="2">售能现状(台)</td>
                    <td class="jiacu" colspan="2">需要售能(台)</td>
                    <td class="jiacu" colspan="2">售能差台(台)</td>
                    <td class="jiacu" colspan="2">违约金(万元)</td>
                </tr>

                <%for(i=0;i<netProfit1.length;i++){%>
                <tr>
                    <td colspan="1"><span><%=netProfit1[i].group_name%></span></td>
                    <td colspan="2"><span><%=netProfit1[i].sales_status%></span></td>
                    <td colspan="2"><span ><%=netProfit1[i].need_sell%></span></td>
                    <td colspan="2"><span ><%=netProfit1[i].sale_difference%></span></td>
                    <td colspan="2"><span ><%=netProfit1[i].sale_liquidated_damages%></span></td>
                </tr>
                <%}%>
            </table>
        </div>
    </div>
    <div id="year2" class="tab-pane fade content" >
        <div class="role_content" style="position: relative; margin-top: 60px;">
            <table class="table_list" id="table_my_toast2" style="width: 800px; margin: 0 auto;">
                <tr>
                    <td></td>
                    <td>组别</td>
                    <td colspan="2" class="jiacu">现金流(万元)</td>
                    <td colspan="2" class="jiacu">采购成本(万元)</td>
                    <td colspan="2" class="jiacu">成本差(万元)</td>
                    <td colspan="2" class="jiacu">违约金/利息(万元)</td>
                </tr>
                <%for(i=0;i<netProfit2.length;i++){%>
                <tr>
                    <%if(i==0){%>
                    <td rowspan="<%=netProfit2.length%>">采购能力</td>
                    <%}%>
                    <td colspan="1"><span><%=netProfit2[i].group_name%></span></td>
                    <td colspan="2"><span><%=netProfit2[i].cash_flow%></span></td>
                    <td colspan="2"><span ><%=netProfit2[i].purchasing_cost%></span></td>
                    <td colspan="2"><span ><%=netProfit2[i].cost_difference%></span></td>
                    <td colspan="2"><span ><%=netProfit2[i].liquidated_damages_one%></span></td>
                </tr>
                <%}%>
                <tr>
                    <td rowspan="<%=netProfit2.length+1%>">生产能力</td>
                    <td class="jiacu">组别</td>
                    <td class="jiacu" colspan="2">产能现状(台)</td>
                    <td class="jiacu" colspan="2">需要产能(台)</td>
                    <td class="jiacu" colspan="2">产能差(台)</td>
                    <td class="jiacu" colspan="2">违约金(万元)</td>
                </tr>
                <%for(i=0;i<netProfit2.length;i++){%>
                <tr>
                    <td colspan="1"><span><%=netProfit2[i].group_name%></span></td>
                    <td colspan="2"><span><%=netProfit2[i].production_capacity%></span></td>
                    <td colspan="2"><span ><%=netProfit2[i].need_capacity%></span></td>
                    <td colspan="2"><span ><%=netProfit2[i].capacity_difference%></span></td>
                    <td colspan="2"><span ><%=netProfit2[i].liquidated_damages_two%></span></td>
                </tr>
                <%}%>
                <tr>
                    <td rowspan="<%=netProfit2.length+1%>">销售能力</td>
                    <td class="jiacu">组别</td>
                    <td class="jiacu" colspan="2">售能现状(台)</td>
                    <td class="jiacu" colspan="2">需要售能(台)</td>
                    <td class="jiacu" colspan="2">售能差台(台)</td>
                    <td class="jiacu" colspan="2">违约金(万元)</td>
                </tr>

                <%for(i=0;i<netProfit2.length;i++){%>
                <tr>
                    <td colspan="1"><span><%=netProfit2[i].group_name%></span></td>
                    <td colspan="2"><span><%=netProfit2[i].sales_status%></span></td>
                    <td colspan="2"><span ><%=netProfit2[i].need_sell%></span></td>
                    <td colspan="2"><span ><%=netProfit2[i].sale_difference%></span></td>
                    <td colspan="2"><span ><%=netProfit2[i].sale_liquidated_damages%></span></td>
                </tr>
                <%}%>
            </table>
        </div>
    </div>
    <div id="year3" class="tab-pane fade content" >
        <div class="role_content" style="position: relative; margin-top: 60px;">
            <table class="table_list" id="table_my_toast3" style="width: 800px; margin: 0 auto;">
                <tr>
                    <td></td>
                    <td>组别</td>
                    <td colspan="2" class="jiacu">现金流(万元)</td>
                    <td colspan="2" class="jiacu">采购成本(万元)</td>
                    <td colspan="2" class="jiacu">成本差(万元)</td>
                    <td colspan="2" class="jiacu">违约金/利息(万元)</td>
                </tr>
                <%for(i=0;i<netProfit3.length;i++){%>
                <tr>
                    <%if(i==0){%>
                    <td rowspan="<%=netProfit3.length%>">采购能力</td>
                    <%}%>
                    <td colspan="1"><span><%=netProfit3[i].group_name%></span></td>
                    <td colspan="2"><span><%=netProfit3[i].cash_flow%></span></td>
                    <td colspan="2"><span ><%=netProfit3[i].purchasing_cost%></span></td>
                    <td colspan="2"><span ><%=netProfit3[i].cost_difference%></span></td>
                    <td colspan="2"><span ><%=netProfit3[i].liquidated_damages_one%></span></td>
                </tr>
                <%}%>
                <tr>
                    <td rowspan="<%=netProfit3.length+1%>">生产能力</td>
                    <td class="jiacu">组别</td>
                    <td class="jiacu" colspan="2">产能现状(台)</td>
                    <td class="jiacu" colspan="2">需要产能(台)</td>
                    <td class="jiacu" colspan="2">产能差(台)</td>
                    <td class="jiacu" colspan="2">违约金(万元)</td>
                </tr>
                <%for(i=0;i<netProfit3.length;i++){%>
                <tr>
                    <td colspan="1"><span><%=netProfit3[i].group_name%></span></td>
                    <td colspan="2"><span><%=netProfit3[i].production_capacity%></span></td>
                    <td colspan="2"><span ><%=netProfit3[i].need_capacity%></span></td>
                    <td colspan="2"><span ><%=netProfit3[i].capacity_difference%></span></td>
                    <td colspan="2"><span ><%=netProfit3[i].liquidated_damages_two%></span></td>
                </tr>
                <%}%>
                <tr>
                    <td rowspan="<%=netProfit3.length+1%>">销售能力</td>
                    <td class="jiacu">组别</td>
                    <td class="jiacu" colspan="2">售能现状(台)</td>
                    <td class="jiacu" colspan="2">需要售能(台)</td>
                    <td class="jiacu" colspan="2">售能差台(台)</td>
                    <td class="jiacu" colspan="2">违约金(万元)</td>
                </tr>

                <%for(i=0;i<netProfit3.length;i++){%>
                <tr>
                    <td colspan="1"><span><%=netProfit3[i].group_name%></span></td>
                    <td colspan="2"><span><%=netProfit3[i].sales_status%></span></td>
                    <td colspan="2"><span ><%=netProfit3[i].need_sell%></span></td>
                    <td colspan="2"><span ><%=netProfit3[i].sale_difference%></span></td>
                    <td colspan="2"><span ><%=netProfit3[i].sale_liquidated_damages%></span></td>
                </tr>
                <%}%>
            </table>
        </div>
    </div>
</div>


